<script type="text/javascript" src="<{$weburl}>/static/js/layer/layer.min.js"></script>
<script type="text/javascript" src="<{$weburl}>/static/js/jquery.inputtext.js"></script>
<script language="JavaScript">
$(function(){
	$("#carcount").load("<{$weburl}>/index.php?m=ajax&ajax=1&carcount=1");
	$(".keywords").textRemindAuto();
	<{if $setting.version==3}>
	//城市选择
	$(".topcity").toggle(
	  function () {
		$(".topcitylist").show();
	  },
	  function () {
		$(".topcitylist").hide();
	  }
	);
	<{/if}>
})
</script>
<!--头部-->
<{include file="default/`$setting.templates`/top.html"}>
<div class="headw">
	<div class="head">
		<div class="logo"><a href="<{$weburl}>/"><{if $setting.logo<>''}><img src="<{$setting.logo}>" alt="<{$setting.sitename}>"><{else}><{$setting.sitename}><{/if}></a></div>
		 	<{if $setting.version==3}><div class="topcity"><script src="<{$weburl}>/index.php?m=city"></script></div>
			<div class="topcitylist hide">
			<ul>
				<li><a href="<{$weburl}>/index.php?m=city&cid=0">全国</a></li>
				<{foreach from=$recomcitylist key=skey item=city}>
				<li><a href="<{$weburl}>/index.php?m=city&cid=<{$city.id}>"><{$city.name}></a></li>
				<{/foreach}>
			</ul>
			</div>
			<{/if}>
		<div class="topsearch">
			<div class="topsearchbox">
			<form method="get" action="<{$weburl}>/index.php">
				<input type="text" name="k" class="keywords" value="请输入关键词，如宝马"><input type="submit" value="" class="button"/>
				<input type="hidden" name="m" value="search">
			</form>
			</div>
			<p class="topkeywords"><{foreach from=$cache.topkeywords item=keywords}><a href="<{$weburl}>/index.php?m=search&k=<{$keywords.keyword}>"><{$keywords.keywords}></a>&nbsp;&nbsp;<{/foreach}></p>
		</div>
		<!--<div class="carnum" id="carcount">-->
            <!---->
		<!--</div>-->
        <div class="carnum" >
           <a href="http://www.chesanshun.com/index.php?m=down" target="_blank" > <img src="<{$weburl}>/templates/default/default/img/load.png" ></a>
        </div>
	</div>
</div>
<div class="nav_list">
	<ul class="clearfix">
    <{if $setting.ishtml==1}>
		<{foreach from=$htmlpartlist key=key item=htmlpart}>

		<li>
		<a href="<{if $htmlpart.c_target==2}><{$htmlpart.c_htmlurl}><{else}><{$weburl}>/<{$htmlpart.c_htmlurl}><{/if}>"
           title="<{$htmlpart.c_name}>" <{if $menustate==$htmlpart.c_id}>class="here"<{/if}> <{if $htmlpart.c_target==2}>target="_blank"<{/if}>><{$htmlpart.c_name}></a>
		</li>
		<{/foreach}>
        <{else}>
           <{foreach from=$partlist key=key item=part}>
		<li>
		<a href="<{if $part.c_target==2}><{$part.c_url}><{else}><{$weburl}>/<{$part.c_url}><{/if}>" title="<{$part.c_name}>" <{if $menustate==$part.c_id}>class="here"<{/if}> <{if $part.c_target==2}>target="_blank"<{/if}>><{$part.c_name}></a>
		</li>
		<{/foreach}>
        <{/if}>
	</ul>
</div>
<!--头部end -->
